package com.xwdeshj.entity;

import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.util.Date;

/**
 * 景区——基本信息
 */
@Entity(name = "xw_scenic_basicinfo")
public class XwScenicBasicinfo {

    /**
     * 景区id
     */
    @Column(name = "scenic_id")
    private Integer scenicId;

    /**
     * 景区加密id（店铺id）
     */
    @Column(name = "scenic_encryptId")
    private String scenicEncryptid;

    /**
     * 商家加密id
     */
    @Column(name = "business_encryptId")
    private String businessEncryptid;

    /**
     * 商户类型（“”：全部，0：农家乐，1：景区）
     */
    @Column(name = "business_type")
    private String businessType;

    /**
     * 景区类型（骑马……）
     */
    @Column(name = "scenicType_desc")
    private String scenictypeDesc;

    /**
     * 景区类型加密id（可多个id，以，逗号进行分隔）
     */
    @Column(name = "scenicType_encryptId")
    private String scenictypeEncryptid;

    /**
     * 景区主题游内容（游山……）
     */
    @Column(name = "scenic_theme_desc")
    private String scenicThemeDesc;

    /**
     * 景区主题游加密id（可多个id，以，逗号进行分隔）
     */
    @Column(name = "scenic_theme_encryptId")
    private String scenicThemeEncryptid;

    /**
     * 门票
     */
    @Column(name = "scenic_Ticket")
    private Double scenicTicket;

    /**
     * 开发时间
     */
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Column(name = "scenic_Develop_time")
    private String scenicDevelopTime;

    /**
     * 适合类型（亲子游……）
     */
    @Column(name = "scenic_crowdName")
    private String scenicCrowdname;

    /**
     * 适合人群加密id
     */
    @Column(name = "sceni_crowd_encryptId")
    private String sceniCrowdEncryptid;

    /**
     * 最佳季节（春季……）
     */
    @Column(name = "scenic_season")
    private String scenicSeason;

    /**
     * 景区等级（A/2A……）
     */
    @Column(name = "scenic_grade")
    private String scenicGrade;

    /**
     * 所属城市（城市）
     */
    @Column(name = "scenic_city")
    private String scenicCity;

    /**
     * 所属城市（区县）
     */
    @Column(name = "scenic_district")
    private String scenicDistrict;

    /**
     * 详细地址（住所）
     */
    @Column(name = "scenic_address")
    private String scenicAddress;

    /**
     * 评分
     */
    @Column(name = "scenic_score")
    private Double scenicScore;

    /**
     * 访问量
     */
    @Column(name = "scenic_views")
    private Integer scenicViews;

    /**
     * 景区游玩类型（玩水……）
     */
    @Column(name = "scenic_palytype_desc")
    private String scenicPalytypeDesc;

    /**
     * 景区游玩类型加密id（可多个id，以，逗号进行分隔）
     */
    @Column(name = "scenic_playType_encryptId")
    private String scenicPlaytypeEncryptid;

    /**
     * 更新时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Column(name = "scenic_updatetime")
    private Date scenicUpdatetime;

    /**
     * 注册时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Column(name = "scenic_createtime")
    private Date scenicCreatetime;

    /**
     * 景区介绍信息
     */
    @Column(name = "scenic_Intr_info")
    private String scenicIntrInfo;

    /**
     * 公交路线
     */
    @Column(name = "scenic_bus_route")
    private String scenicBusRoute;

    /**
     * 自驾路线
     */
    @Column(name = "scenic_self_route")
    private String scenicSelfRoute;

    public XwScenicBasicinfo(){

    }

    public XwScenicBasicinfo(String scenicEncryptid, String businessEncryptid, String businessType, String scenictypeDesc, String scenictypeEncryptid, String scenicThemeDesc, String scenicThemeEncryptid, Double scenicTicket, String scenicDevelopTime, String scenicCrowdname, String sceniCrowdEncryptid, String scenicSeason, String scenicGrade, String scenicCity, String scenicDistrict, String scenicAddress, Double scenicScore, Integer scenicViews, String scenicPalytypeDesc, String scenicPlaytypeEncryptid, Date scenicUpdatetime, Date scenicCreatetime, String scenicIntrInfo, String scenicBusRoute, String scenicSelfRoute) {
        this.scenicEncryptid = scenicEncryptid;
        this.businessEncryptid = businessEncryptid;
        this.businessType = businessType;
        this.scenictypeDesc = scenictypeDesc;
        this.scenictypeEncryptid = scenictypeEncryptid;
        this.scenicThemeDesc = scenicThemeDesc;
        this.scenicThemeEncryptid = scenicThemeEncryptid;
        this.scenicTicket = scenicTicket;
        this.scenicDevelopTime = scenicDevelopTime;
        this.scenicCrowdname = scenicCrowdname;
        this.sceniCrowdEncryptid = sceniCrowdEncryptid;
        this.scenicSeason = scenicSeason;
        this.scenicGrade = scenicGrade;
        this.scenicCity = scenicCity;
        this.scenicDistrict = scenicDistrict;
        this.scenicAddress = scenicAddress;
        this.scenicScore = scenicScore;
        this.scenicViews = scenicViews;
        this.scenicPalytypeDesc = scenicPalytypeDesc;
        this.scenicPlaytypeEncryptid = scenicPlaytypeEncryptid;
        this.scenicUpdatetime = scenicUpdatetime;
        this.scenicCreatetime = scenicCreatetime;
        this.scenicIntrInfo = scenicIntrInfo;
        this.scenicBusRoute = scenicBusRoute;
        this.scenicSelfRoute = scenicSelfRoute;
    }


    /**
     *  景区id
     * @return scenic_id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    public Integer getScenicId() {
        return scenicId;
    }

    /**
     * 景区id
     * @param scenicId
     */
    public void setScenicId(Integer scenicId) {
        this.scenicId = scenicId;
    }

    /**
     * 获取景区加密id（店铺id）
     *
     * @return scenic_encryptId - 景区加密id（店铺id）
     */
    public String getScenicEncryptid() {
        return scenicEncryptid;
    }

    /**
     * 设置景区加密id（店铺id）
     *
     * @param scenicEncryptid 景区加密id（店铺id）
     */
    public void setScenicEncryptid(String scenicEncryptid) {
        this.scenicEncryptid = scenicEncryptid;
    }

    /**
     * 获取商家加密id
     *
     * @return business_encryptId - 商家加密id
     */
    public String getBusinessEncryptid() {
        return businessEncryptid;
    }

    /**
     * 设置商家加密id
     *
     * @param businessEncryptid 商家加密id
     */
    public void setBusinessEncryptid(String businessEncryptid) {
        this.businessEncryptid = businessEncryptid;
    }

    /**
     * 获取商户类型（“”：全部，0：农家乐，1：景区）
     *
     * @return business_type - 商户类型（“”：全部，0：农家乐，1：景区）
     */
    public String getBusinessType() {
        return businessType;
    }

    /**
     * 设置商户类型（“”：全部，0：农家乐，1：景区）
     *
     * @param businessType 商户类型（“”：全部，0：农家乐，1：景区）
     */
    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    /**
     * 获取景区类型（骑马……）
     *
     * @return scenicType_desc - 景区类型（骑马……）
     */
    public String getScenictypeDesc() {
        return scenictypeDesc;
    }

    /**
     * 设置景区类型（骑马……）
     *
     * @param scenictypeDesc 景区类型（骑马……）
     */
    public void setScenictypeDesc(String scenictypeDesc) {
        this.scenictypeDesc = scenictypeDesc;
    }

    /**
     * 获取景区类型加密id（可多个id，以，逗号进行分隔）
     *
     * @return scenicType_encryptId - 景区类型加密id（可多个id，以，逗号进行分隔）
     */
    public String getScenictypeEncryptid() {
        return scenictypeEncryptid;
    }

    /**
     * 设置景区类型加密id（可多个id，以，逗号进行分隔）
     *
     * @param scenictypeEncryptid 景区类型加密id（可多个id，以，逗号进行分隔）
     */
    public void setScenictypeEncryptid(String scenictypeEncryptid) {
        this.scenictypeEncryptid = scenictypeEncryptid;
    }

    /**
     * 获取景区主题游内容（游山……）
     *
     * @return scenic_theme_desc - 景区主题游内容（游山……）
     */
    public String getScenicThemeDesc() {
        return scenicThemeDesc;
    }

    /**
     * 设置景区主题游内容（游山……）
     *
     * @param scenicThemeDesc 景区主题游内容（游山……）
     */
    public void setScenicThemeDesc(String scenicThemeDesc) {
        this.scenicThemeDesc = scenicThemeDesc;
    }

    /**
     * 获取景区主题游加密id（可多个id，以，逗号进行分隔）
     *
     * @return scenic_theme_encryptId - 景区主题游加密id（可多个id，以，逗号进行分隔）
     */
    public String getScenicThemeEncryptid() {
        return scenicThemeEncryptid;
    }

    /**
     * 设置景区主题游加密id（可多个id，以，逗号进行分隔）
     *
     * @param scenicThemeEncryptid 景区主题游加密id（可多个id，以，逗号进行分隔）
     */
    public void setScenicThemeEncryptid(String scenicThemeEncryptid) {
        this.scenicThemeEncryptid = scenicThemeEncryptid;
    }

    /**
     * 获取门票
     *
     * @return scenic_Ticket - 门票
     */
    public Double getScenicTicket() {
        return scenicTicket;
    }

    /**
     * 设置门票
     *
     * @param scenicTicket 门票
     */
    public void setScenicTicket(Double scenicTicket) {
        this.scenicTicket = scenicTicket;
    }

    /**
     * 获取开发时间
     *
     * @return scenic_Develop_time - 开发时间
     */
    public String getScenicDevelopTime() {
        return scenicDevelopTime;
    }

    /**
     * 设置开发时间
     *
     * @param scenicDevelopTime 开发时间
     */
    public void setScenicDevelopTime(String scenicDevelopTime) {
        this.scenicDevelopTime = scenicDevelopTime;
    }

    public String getScenicCrowdname() {
        return scenicCrowdname;
    }

    public void setScenicCrowdname(String scenicCrowdname) {
        this.scenicCrowdname = scenicCrowdname;
    }

    /**
     * 获取适合人群加密id
     *
     * @return sceni_crowd_encryptId - 适合人群加密id
     */
    public String getSceniCrowdEncryptid() {
        return sceniCrowdEncryptid;
    }

    /**
     * 设置适合人群加密id
     *
     * @param sceniCrowdEncryptid 适合人群加密id
     */
    public void setSceniCrowdEncryptid(String sceniCrowdEncryptid) {
        this.sceniCrowdEncryptid = sceniCrowdEncryptid;
    }

    /**
     * 获取最佳季节（春季……）
     *
     * @return scenic_season - 最佳季节（春季……）
     */
    public String getScenicSeason() {
        return scenicSeason;
    }

    /**
     * 设置最佳季节（春季……）
     *
     * @param scenicSeason 最佳季节（春季……）
     */
    public void setScenicSeason(String scenicSeason) {
        this.scenicSeason = scenicSeason;
    }

    /**
     * 获取景区等级（A/2A……）
     *
     * @return scenic_grade - 景区等级（A/2A……）
     */
    public String getScenicGrade() {
        return scenicGrade;
    }

    /**
     * 设置景区等级（A/2A……）
     *
     * @param scenicGrade 景区等级（A/2A……）
     */
    public void setScenicGrade(String scenicGrade) {
        this.scenicGrade = scenicGrade;
    }

    /**
     * 获取所属城市（城市）
     *
     * @return scenic_city - 所属城市（城市）
     */
    public String getScenicCity() {
        return scenicCity;
    }

    /**
     * 设置所属城市（城市）
     *
     * @param scenicCity 所属城市（城市）
     */
    public void setScenicCity(String scenicCity) {
        this.scenicCity = scenicCity;
    }

    /**
     * 获取所属城市（区县）
     *
     * @return scenic_district - 所属城市（区县）
     */
    public String getScenicDistrict() {
        return scenicDistrict;
    }

    /**
     * 设置所属城市（区县）
     *
     * @param scenicDistrict 所属城市（区县）
     */
    public void setScenicDistrict(String scenicDistrict) {
        this.scenicDistrict = scenicDistrict;
    }

    /**
     * 获取详细地址（住所）
     *
     * @return scenic_address - 详细地址（住所）
     */
    public String getScenicAddress() {
        return scenicAddress;
    }

    /**
     * 设置详细地址（住所）
     *
     * @param scenicAddress 详细地址（住所）
     */
    public void setScenicAddress(String scenicAddress) {
        this.scenicAddress = scenicAddress;
    }

    /**
     * 获取评分
     *
     * @return scenic_score - 评分
     */
    public Double getScenicScore() {
        return scenicScore;
    }

    /**
     * 设置评分
     *
     * @param scenicScore 评分
     */
    public void setScenicScore(Double scenicScore) {
        this.scenicScore = scenicScore;
    }

    /**
     * 获取访问量
     *
     * @return scenic_views - 访问量
     */
    public Integer getScenicViews() {
        return scenicViews;
    }

    /**
     * 设置访问量
     *
     * @param scenicViews 访问量
     */
    public void setScenicViews(Integer scenicViews) {
        this.scenicViews = scenicViews;
    }

    /**
     * 获取景区游玩类型（玩水……）
     *
     * @return scenic_palytype_desc - 景区游玩类型（玩水……）
     */
    public String getScenicPalytypeDesc() {
        return scenicPalytypeDesc;
    }

    /**
     * 设置景区游玩类型（玩水……）
     *
     * @param scenicPalytypeDesc 景区游玩类型（玩水……）
     */
    public void setScenicPalytypeDesc(String scenicPalytypeDesc) {
        this.scenicPalytypeDesc = scenicPalytypeDesc;
    }

    /**
     * 获取景区游玩类型加密id（可多个id，以，逗号进行分隔）
     *
     * @return scenic_playType_encryptId - 景区游玩类型加密id（可多个id，以，逗号进行分隔）
     */
    public String getScenicPlaytypeEncryptid() {
        return scenicPlaytypeEncryptid;
    }

    /**
     * 设置景区游玩类型加密id（可多个id，以，逗号进行分隔）
     *
     * @param scenicPlaytypeEncryptid 景区游玩类型加密id（可多个id，以，逗号进行分隔）
     */
    public void setScenicPlaytypeEncryptid(String scenicPlaytypeEncryptid) {
        this.scenicPlaytypeEncryptid = scenicPlaytypeEncryptid;
    }

    /**
     * 获取更新时间
     *
     * @return scenic_updatetime - 更新时间
     */
    public Date getScenicUpdatetime() {
        return scenicUpdatetime;
    }

    /**
     * 设置更新时间
     *
     * @param scenicUpdatetime 更新时间
     */
    public void setScenicUpdatetime(Date scenicUpdatetime) {
        this.scenicUpdatetime = scenicUpdatetime;
    }

    /**
     * 获取注册时间
     *
     * @return scenic_createtime - 注册时间
     */
    public Date getScenicCreatetime() {
        return scenicCreatetime;
    }

    /**
     * 设置注册时间
     *
     * @param scenicCreatetime 注册时间
     */
    public void setScenicCreatetime(Date scenicCreatetime) {
        this.scenicCreatetime = scenicCreatetime;
    }

    /**
     * 获取景区介绍信息
     *
     * @return scenic_Intr_info - 景区介绍信息
     */
    public String getScenicIntrInfo() {
        return scenicIntrInfo;
    }

    /**
     * 设置景区介绍信息
     *
     * @param scenicIntrInfo 景区介绍信息
     */
    public void setScenicIntrInfo(String scenicIntrInfo) {
        this.scenicIntrInfo = scenicIntrInfo;
    }

    /**
     * 获取公交路线
     *
     * @return scenic_bus_route - 公交路线
     */
    public String getScenicBusRoute() {
        return scenicBusRoute;
    }

    /**
     * 设置公交路线
     *
     * @param scenicBusRoute 公交路线
     */
    public void setScenicBusRoute(String scenicBusRoute) {
        this.scenicBusRoute = scenicBusRoute;
    }

    /**
     * 获取自驾路线
     *
     * @return scenic_self_route - 自驾路线
     */
    public String getScenicSelfRoute() {
        return scenicSelfRoute;
    }

    /**
     * 设置自驾路线
     *
     * @param scenicSelfRoute 自驾路线
     */
    public void setScenicSelfRoute(String scenicSelfRoute) {
        this.scenicSelfRoute = scenicSelfRoute;
    }


    @Override
    public String toString() {
        return "XwScenicBasicinfo{" +
                "scenicId=" + scenicId +
                ", scenicEncryptid='" + scenicEncryptid + '\'' +
                ", businessEncryptid='" + businessEncryptid + '\'' +
                ", businessType='" + businessType + '\'' +
                ", scenictypeDesc='" + scenictypeDesc + '\'' +
                ", scenictypeEncryptid='" + scenictypeEncryptid + '\'' +
                ", scenicThemeDesc='" + scenicThemeDesc + '\'' +
                ", scenicThemeEncryptid='" + scenicThemeEncryptid + '\'' +
                ", scenicTicket=" + scenicTicket +
                ", scenicDevelopTime='" + scenicDevelopTime + '\'' +
                ", scenicCrowdname='" + scenicCrowdname + '\'' +
                ", sceniCrowdEncryptid='" + sceniCrowdEncryptid + '\'' +
                ", scenicSeason='" + scenicSeason + '\'' +
                ", scenicGrade='" + scenicGrade + '\'' +
                ", scenicCity='" + scenicCity + '\'' +
                ", scenicDistrict='" + scenicDistrict + '\'' +
                ", scenicAddress='" + scenicAddress + '\'' +
                ", scenicScore=" + scenicScore +
                ", scenicViews=" + scenicViews +
                ", scenicPalytypeDesc='" + scenicPalytypeDesc + '\'' +
                ", scenicPlaytypeEncryptid='" + scenicPlaytypeEncryptid + '\'' +
                ", scenicUpdatetime=" + scenicUpdatetime +
                ", scenicCreatetime=" + scenicCreatetime +
                ", scenicIntrInfo='" + scenicIntrInfo + '\'' +
                ", scenicBusRoute='" + scenicBusRoute + '\'' +
                ", scenicSelfRoute='" + scenicSelfRoute + '\'' +
                '}';
    }
}